package Thread;


import java.util.concurrent.FutureTask;

/**
 * @Author czl
 * @Date 2024-03-19
 */
public class MainTest1 {
    public static void main(String[] args) {
        MyCallable myCallable = new MyCallable();

        FutureTask<Integer> futureTask = new FutureTask<>(myCallable);

        Thread thread = new Thread(futureTask);

        thread.start();


    }
}
